import { defineComponent } from 'vue'
import { basicProps } from './props'
export default defineComponent({
  props: basicProps,
  setup(props) {
    return () => (
      <div>
        <h3>{props.title} Attributes</h3>
        <el-table data={props.data}>
          <el-table-column prop="argu" label="参数" align="center"/>
          <el-table-column prop="instruction" label="说明" align="center"/>
          <el-table-column prop="type" label="类型" align="center"/>
          <el-table-column prop="option" label="可选值" align="center"/>
          <el-table-column prop="default" label="默认值" align="center"/>
        </el-table>
      </div>
    )
  }
})
